﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using EntityDA;

namespace BussinessObject
{
    public class TacGiaController
    {
        public TacGiaData GetOneTacGia(int MaTG)
        {
            TacGiaDB db = new TacGiaDB();
            return db.GetOneTacGia(MaTG);
        }
        public List<TacGiaData> GetAllTacGia()
        {
            TacGiaDB db = new TacGiaDB();
            return db.GetAllTacGia();
        }
    }
}